projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea01b2
)
checkbutton: Remove redundant call
author
Benjamin Otte
<otte@redhat.com>
Tue, 30 Aug 2011 13:10:14 +0000
(15:10 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 5 Sep 2011 16:56:23 +0000
(18:56 +0200)
The call is done by GtkButton already, no need to override it.
gtk/gtkcheckbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcheckbutton.c
b/gtk/gtkcheckbutton.c
index 7982e7fe5356f17d4c7a49aa085bbe60f71c7a42..142afe36453a43e55b7a41792e3cad89d635f18f 100644
(file)
--- a/
gtk/gtkcheckbutton.c
+++ b/
gtk/gtkcheckbutton.c
@@
-110,7
+110,6
@@
gtk_check_button_class_init (GtkCheckButtonClass *class)
static void
gtk_check_button_init (GtkCheckButton *check_button)
{
- gtk_widget_set_has_window (GTK_WIDGET (check_button), FALSE);
gtk_widget_set_receives_default (GTK_WIDGET (check_button), FALSE);
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (check_button), TRUE);
gtk_button_set_alignment (GTK_BUTTON (check_button), 0.0, 0.5);